<?
require("includes/constants.php");
require("includes/funciones.inc.php");

session_start();
if(!isset($_SESSION['nombreUsuario']))
	exit();

?>
<div class="form_settings">
	<form id="ordenFabricacionPopForm" name="ordenFabricacionPopForm" method="post">
		<p>
			<span>Fecha</span>
			<input id="fecha" name="fecha" type="text" style="width: 90px;">
		</p>
		<p>
			<span>Tipo</span>
			<select id="cmbTipo" name="cmbTipo" style="width: 110px;">
				<option value="">...</option>
				<option value="M">Muestra</option>
				<option value="P">Producci&oacute;n</option>
			</select>
		</p>
	</form>
</div>

<table id="dt_ordenFabricacionItems" class="display">
	<thead>
		<tr>
			<th></th>
			<th>Cod. Articulo</th>
			<th>Descripci&oacute;n</th>
			<th>Variedad</th>
			<th>Cantidad</th>
			<th>Precio</th>
			<th>Detalle</th>
		</tr>
    </thead>
    <tbody>
    	<tr>
    		<td colspan="7" class="dataTables_empty">Cargando Datos</td>
    	</tr>
	</tbody>
</table>

<div class="form_settings">
	<p style="padding-top: 15px; float: right;">
		<span>&nbsp;</span>
		<input class="submit" type="button" name="btnGuardar" id="btnGuardar" value="Guardar" />
		<input class="submit" type="button" name="btnCerrar" id="btnCerrar" value="Cerrar" />
	</p>
</div>

<script>
	$(document).ready(function() {
		$_initPop();
	});
</script>